<template>
  <BePage class="offline-download-service">
    <BeTabs :tabList="tabList" v-model:activeKey="activeKey" hideAdd type="editable-card" @edit="onEdit" />
  </BePage>
</template>

<script lang="ts" setup>
import { useTabs } from '@/components/basics/BeTabs'
import List from './components/List.vue'

defineOptions({ name: 'InterfaceList' })

// state
const { tabList, activeKey, addTab, onEdit } = useTabs([{ key: 'default', title: '数据流转记录', component: markRaw(List), closable: false }])

// provide
provide('page', { addTab })
</script>
<style lang="scss"></style>
